home *** CD-ROM | disk | FTP | other *** search
-
-
-
- iiiinnnnffffoooo((((3333TTTTccccllll)))) iiiinnnnffffoooo((((3333TTTTccccllll))))
-
-
-
- NNNNAAAAMMMMEEEE
- info - Return information about the state of the Tcl interpreter
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- iiiinnnnffffoooo _o_p_t_i_o_n ?_a_r_g _a_r_g ...?
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This command provides information about various internals of the Tcl
- interpreter. The legal _o_p_t_i_o_n's (which may be abbreviated) are:
-
- iiiinnnnffffoooo aaaarrrrggggssss _p_r_o_c_n_a_m_e
- Returns a list containing the names of the arguments to procedure
- _p_r_o_c_n_a_m_e, in order. _P_r_o_c_n_a_m_e must be the name of a Tcl command
- procedure.
-
- iiiinnnnffffoooo bbbbooooddddyyyy _p_r_o_c_n_a_m_e
- Returns the body of procedure _p_r_o_c_n_a_m_e. _P_r_o_c_n_a_m_e must be the name
- of a Tcl command procedure.
-
- iiiinnnnffffoooo ccccmmmmddddccccoooouuuunnnntttt
- Returns a count of the total number of commands that have been
- invoked in this interpreter.
-
- iiiinnnnffffoooo ccccoooommmmmmmmaaaannnnddddssss ?_p_a_t_t_e_r_n?
- If _p_a_t_t_e_r_n isn't specified, returns a list of names of all the Tcl
- commands, including both the built-in commands written in C and the
- command procedures defined using the pppprrrroooocccc command. If _p_a_t_t_e_r_n is
- specified, only those names matching _p_a_t_t_e_r_n are returned. Matching
- is determined using the same rules as for ssssttttrrrriiiinnnngggg mmmmaaaattttcccchhhh.
-
- iiiinnnnffffoooo ccccoooommmmpppplllleeeetttteeee _c_o_m_m_a_n_d
- Returns 1 if _c_o_m_m_a_n_d is a complete Tcl command in the sense of
- having no unclosed quotes, braces, brackets or array element names,
- If the command doesn't appear to be complete then 0 is returned.
- This command is typically used in line-oriented input environments
- to allow users to type in commands that span multiple lines; if the
- command isn't complete, the script can delay evaluating it until
- additional lines have been typed to complete the command.
-
- iiiinnnnffffoooo ddddeeeeffffaaaauuuulllltttt _p_r_o_c_n_a_m_e _a_r_g _v_a_r_n_a_m_e
- _P_r_o_c_n_a_m_e must be the name of a Tcl command procedure and _a_r_g must be
- the name of an argument to that procedure. If _a_r_g doesn't have a
- default value then the command returns 0000. Otherwise it returns 1111
- and places the default value of _a_r_g into variable _v_a_r_n_a_m_e.
-
- iiiinnnnffffoooo eeeexxxxiiiissssttttssss _v_a_r_N_a_m_e
- Returns 1111 if the variable named _v_a_r_N_a_m_e exists in the current
- context (either as a global or local variable), returns 0000 otherwise.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- iiiinnnnffffoooo((((3333TTTTccccllll)))) iiiinnnnffffoooo((((3333TTTTccccllll))))
-
-
-
- iiiinnnnffffoooo gggglllloooobbbbaaaallllssss ?_p_a_t_t_e_r_n?
- If _p_a_t_t_e_r_n isn't specified, returns a list of all the names of
- currently-defined global variables. If _p_a_t_t_e_r_n is specified, only
- those names matching _p_a_t_t_e_r_n are returned. Matching is determined
- using the same rules as for ssssttttrrrriiiinnnngggg mmmmaaaattttcccchhhh.
-
- iiiinnnnffffoooo lllleeeevvvveeeellll ?_n_u_m_b_e_r?
- If _n_u_m_b_e_r is not specified, this command returns a number giving the
- stack level of the invoking procedure, or 0 if the command is
- invoked at top-level. If _n_u_m_b_e_r is specified, then the result is a
- list consisting of the name and arguments for the procedure call at
- level _n_u_m_b_e_r on the stack. If _n_u_m_b_e_r is positive then it selects a
- particular stack level (1 refers to the top-most active procedure, 2
- to the procedure it called, and so on); otherwise it gives a level
- relative to the current level (0 refers to the current procedure, -1
- to its caller, and so on). See the uuuupppplllleeeevvvveeeellll command for more
- information on what stack levels mean.
-
- iiiinnnnffffoooo lllliiiibbbbrrrraaaarrrryyyy
- Returns the name of the library directory in which standard Tcl
- scripts are stored. This is actually the value of the ttttccccllll____lllliiiibbbbrrrraaaarrrryyyy |
- variable and may be changed by setting ttttccccllll____lllliiiibbbbrrrraaaarrrryyyy. See the ttttccccllllvvvvaaaarrrrssss|
- manual entry for more information.
-
- iiiinnnnffffoooo llllooooccccaaaallllssss ?_p_a_t_t_e_r_n?
- If _p_a_t_t_e_r_n isn't specified, returns a list of all the names of
- currently-defined local variables, including arguments to the
- current procedure, if any. Variables defined with the gggglllloooobbbbaaaallll and
- uuuuppppvvvvaaaarrrr commands will not be returned. If _p_a_t_t_e_r_n is specified, only
- those names matching _p_a_t_t_e_r_n are returned. Matching is determined
- using the same rules as for ssssttttrrrriiiinnnngggg mmmmaaaattttcccchhhh.
-
- iiiinnnnffffoooo ppppaaaattttcccchhhhlllleeeevvvveeeellll
- Returns the value of the global variable ttttccccllll____ppppaaaattttcccchhhhLLLLeeeevvvveeeellll; see the |
- ttttccccllllvvvvaaaarrrrssss manual entry for more information.
-
- iiiinnnnffffoooo pppprrrrooooccccssss ?_p_a_t_t_e_r_n?
- If _p_a_t_t_e_r_n isn't specified, returns a list of all the names of Tcl
- command procedures. If _p_a_t_t_e_r_n is specified, only those names
- matching _p_a_t_t_e_r_n are returned. Matching is determined using the
- same rules as for ssssttttrrrriiiinnnngggg mmmmaaaattttcccchhhh.
-
- iiiinnnnffffoooo ssssccccrrrriiiipppptttt
- If a Tcl script file is currently being evaluated (i.e. there is a
- call to TTTTccccllll____EEEEvvvvaaaallllFFFFiiiilllleeee active or there is an active invocation of the
- ssssoooouuuurrrrcccceeee command), then this command returns the name of the innermost
- file being processed. Otherwise the command returns an empty
- string.
-
- iiiinnnnffffoooo ttttccccllllvvvveeeerrrrssssiiiioooonnnn
- Returns the value of the global variable ttttccccllll____vvvveeeerrrrssssiiiioooonnnn; see the |
- ttttccccllllvvvvaaaarrrrssss manual entry for more information.
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- iiiinnnnffffoooo((((3333TTTTccccllll)))) iiiinnnnffffoooo((((3333TTTTccccllll))))
-
-
-
- iiiinnnnffffoooo vvvvaaaarrrrssss ?_p_a_t_t_e_r_n?
- If _p_a_t_t_e_r_n isn't specified, returns a list of all the names of
- currently-visible variables, including both locals and currently-
- visible globals. If _p_a_t_t_e_r_n is specified, only those names matching
- _p_a_t_t_e_r_n are returned. Matching is determined using the same rules
- as for ssssttttrrrriiiinnnngggg mmmmaaaattttcccchhhh.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- command, information, interpreter, level, procedure, variable
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-